export function navigateTo(path: string, type: '1' | '2' = '2'): void {
   type === '2' && uni.navigateTo({
        url: path
    })
   type === '1' && uni.switchTab({
        url: path
    })
}